﻿<Window
    xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
    xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
    xmlns:d="http://schemas.microsoft.com/expression/blend/2008" xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006" xmlns:local="clr-namespace:tukui.updater" mc:Ignorable="d" x:Class="Main"
    Title="TukUI Updater" AllowsTransparency="True" WindowStyle="None" Width="237" Height="186">
	<Window.Resources>
		<Style x:Key="ButtonStyle1" TargetType="{x:Type Button}">
			<Setter Property="Template">
				<Setter.Value>
					<ControlTemplate TargetType="{x:Type Button}">
						<Grid>
							<Image x:Name="_overleft" Opacity="0.188" Source="updater_Images\_overleft.png"/>
						</Grid>
						<ControlTemplate.Triggers>
							<Trigger Property="IsFocused" Value="True"/>
							<Trigger Property="IsDefaulted" Value="True"/>
							<Trigger Property="IsMouseOver" Value="True"/>
							<Trigger Property="IsPressed" Value="True"/>
							<Trigger Property="IsEnabled" Value="False"/>
						</ControlTemplate.Triggers>
					</ControlTemplate>
				</Setter.Value>
			</Setter>
		</Style>
		<Style x:Key="ButtonStyle2" TargetType="{x:Type Button}">
			<Setter Property="Template">
				<Setter.Value>
					<ControlTemplate TargetType="{x:Type Button}">
						<Grid>
							<Image x:Name="_overright" Opacity="0.188" Source="updater_Images\_overright.png"/>
						</Grid>
						<ControlTemplate.Triggers>
							<Trigger Property="IsFocused" Value="True"/>
							<Trigger Property="IsDefaulted" Value="True"/>
							<Trigger Property="IsMouseOver" Value="True"/>
							<Trigger Property="IsPressed" Value="True"/>
							<Trigger Property="IsEnabled" Value="False"/>
						</ControlTemplate.Triggers>
					</ControlTemplate>
				</Setter.Value>
			</Setter>
		</Style>
		<Style x:Key="ButtonStyle3" TargetType="{x:Type Button}">
			<Setter Property="Template">
				<Setter.Value>
					<ControlTemplate TargetType="{x:Type Button}">
						<Grid>
							<Image x:Name="_overvisit" Opacity="0.188" Source="updater_Images\_overvisit.png"/>
						</Grid>
						<ControlTemplate.Triggers>
							<Trigger Property="IsFocused" Value="True"/>
							<Trigger Property="IsDefaulted" Value="True"/>
							<Trigger Property="IsMouseOver" Value="True"/>
							<Trigger Property="IsPressed" Value="True"/>
							<Trigger Property="IsEnabled" Value="False"/>
						</ControlTemplate.Triggers>
					</ControlTemplate>
				</Setter.Value>
			</Setter>
		</Style>
		<Style x:Key="ButtonStyle4" TargetType="{x:Type Button}">
			<Setter Property="Template">
				<Setter.Value>
					<ControlTemplate TargetType="{x:Type Button}">
						<Grid>
							<local:CloseControl/>
						</Grid>
						<ControlTemplate.Triggers>
							<Trigger Property="IsFocused" Value="True"/>
							<Trigger Property="IsDefaulted" Value="True"/>
							<Trigger Property="IsMouseOver" Value="True"/>
							<Trigger Property="IsPressed" Value="True"/>
							<Trigger Property="IsEnabled" Value="False"/>
						</ControlTemplate.Triggers>
					</ControlTemplate>
				</Setter.Value>
			</Setter>
		</Style>
		<Style x:Key="ButtonStyle5" TargetType="{x:Type Button}">
			<Setter Property="Template">
				<Setter.Value>
					<ControlTemplate TargetType="{x:Type Button}">
						<Grid>
							<local:MinimizeControl/>
						</Grid>
						<ControlTemplate.Triggers>
							<Trigger Property="IsFocused" Value="True"/>
							<Trigger Property="IsDefaulted" Value="True"/>
							<Trigger Property="IsMouseOver" Value="True"/>
							<Trigger Property="IsPressed" Value="True"/>
							<Trigger Property="IsEnabled" Value="False"/>
						</ControlTemplate.Triggers>
					</ControlTemplate>
				</Setter.Value>
			</Setter>
		</Style>
		<Style x:Key="ProgressBarStyle1" TargetType="{x:Type ProgressBar}">
			<Setter Property="Template">
				<Setter.Value>
					<ControlTemplate TargetType="{x:Type ProgressBar}">
						<Grid>
							<Image x:Name="normTex_Kopie" Source="updater_Images\normTex Kopie.png"/>
						</Grid>
					</ControlTemplate>
				</Setter.Value>
			</Setter>
		</Style>
	</Window.Resources>
    <Grid>
    	<Grid.ColumnDefinitions>
    		<ColumnDefinition Width="Auto" MinWidth="56"/>
    		<ColumnDefinition Width="Auto"/>
    		<ColumnDefinition Width="Auto"/>
    	</Grid.ColumnDefinitions>
        <Canvas x:Name="updater" ClipToBounds="True" HorizontalAlignment="Left" Height="186" VerticalAlignment="Top" Width="237">
        	<Image x:Name="Hintergrund" Height="186" Canvas.Left="0" Source="updater_Images\Hintergrund.png" Canvas.Top="0" Width="237"/>
        	<Canvas x:Name="Buttons" Height="133" Canvas.Left="8" Canvas.Top="88" Width="238">
        		<Image x:Name="Left" Height="99" Canvas.Left="0" Source="updater_Images\Left.png" Canvas.Top="0" Width="106"/>
        		<Image x:Name="Right" Height="99" Canvas.Left="132" Source="updater_Images\Right.png" Canvas.Top="0" Width="106"/>
        		<Image x:Name="Right_Kopie" Height="99" Canvas.Left="68" Source="updater_Images\Right Kopie.png" Canvas.Top="22.834" Width="106"/>
        		<TextBlock x:Name="Update" Foreground="#FFFFFFFF" FontSize="10.667" FontFamily="Arial" Height="15" IsHyphenationEnabled="True" LineStackingStrategy="BlockLineHeight" Canvas.Left="139.341" LineHeight="10.667" TextAlignment="Center" TextWrapping="Wrap" Text="Update" Canvas.Top="6.834" Width="69"/>
        		<TextBlock x:Name="Settings" Foreground="#FFFFFFFF" FontSize="10.667" FontFamily="Arial" Height="15" IsHyphenationEnabled="True" LineStackingStrategy="BlockLineHeight" Canvas.Left="7.043" LineHeight="10.667" TextAlignment="Center" TextWrapping="Wrap" Text="Settings" Canvas.Top="6.834" Width="69"/>
        		<TextBlock x:Name="Visit_Tukui" Foreground="#FFFFFFFF" FontSize="10.667" FontFamily="Arial" Height="15" IsHyphenationEnabled="True" LineStackingStrategy="BlockLineHeight" Canvas.Left="75.243" LineHeight="10.667" TextAlignment="Center" TextWrapping="Wrap" Text="Visit Tukui" Canvas.Top="29.268" Width="69"/>
        		<Button x:Name="btn_settings" Content="Button" Height="14" Canvas.Left="10" Style="{DynamicResource ButtonStyle1}" Canvas.Top="3" Width="64"/>
        		<Button x:Name="btn_update" Content="Button" Height="14" Canvas.Left="142" Style="{DynamicResource ButtonStyle2}" Canvas.Top="3" Width="64"/>
        		<Button x:Name="btn_visit" Content="Button" Height="14" Canvas.Left="78" Style="{DynamicResource ButtonStyle3}" Canvas.Top="25.834" Width="64"/>
        		<TextBlock x:Name="txtStatus" Height="16" Canvas.Left="9" TextWrapping="Wrap" Canvas.Top="52" Width="199.341" Foreground="White" FontSize="13.333"/>
        	</Canvas>
        	<Canvas x:Name="Progressbar_if_you_are_rdy___" Height="99" Canvas.Left="3" Canvas.Top="156" Width="231">
        		<Image x:Name="Right_Kopie_3" Height="99" Canvas.Left="0" Source="updater_Images\Right Kopie 3.png" Canvas.Top="0" Width="148"/>
        		<Image x:Name="Right_Kopie_4" Height="99" Canvas.Left="83" Source="updater_Images\Right Kopie 4.png" Canvas.Top="0" Width="148"/>
        		<ProgressBar x:Name="progress" Height="14" Canvas.Left="10" Canvas.Top="3" Width="211" FontFamily="Segoe UI Semibold"/>
        		<TextBlock x:Name="txtProgress" Height="17" Canvas.Left="106" TextWrapping="Wrap" Text="0%" Width="24" FontSize="13.333" FontFamily="Segoe UI Semibold" Foreground="#FFFBFBFB" RenderTransformOrigin="0.5,-0.562"/>
        	</Canvas>
        	<Button x:Name="btn_mini" Content="Button" Height="1" Canvas.Left="215" Style="{DynamicResource ButtonStyle5}" Canvas.Top="12" Width="6"/>
        	<Button x:Name="btn_close" Content="Button" Height="6" Canvas.Left="225" Style="{DynamicResource ButtonStyle4}" Canvas.Top="7" Width="5"/>
        	<Image x:Name="Tukui___Logo___Updater" Height="76" Canvas.Left="43" Source="updater_Images\Tukui _ Logo _ Updater.png" Canvas.Top="9" Width="140"/>
        </Canvas>
    </Grid>
</Window>